<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <title>发布商品</title>
    <meta name="keywords" content="">
    <meta name="description" content="">

    <link rel="shortcut icon" href="favicon.ico">
    <link href="css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="css/font-awesome.css?v=4.4.0" rel="stylesheet">
    <link href="css/animate.css" rel="stylesheet">
    <link href="css/plugins/summernote/summernote.css" rel="stylesheet">
    <link href="css/plugins/webuploader/webuploader.css" rel="stylesheet" type="text/css">
    <link href="css/plugins/fileinput/fileinput.css" rel="stylesheet" type="text/css"/>
    <link href="css/demo/webuploader-demo.css" rel="stylesheet" type="text/css">
    <link href="css/plugins/awesome-bootstrap-checkbox/awesome-bootstrap-checkbox.css" rel="stylesheet">
    <link href="css/plugins/switchery/switchery.css" rel="stylesheet">
    <link href="css/style.css?v=4.1.0" rel="stylesheet">

    <!-- 全局js -->
    <script src="js/jquery.min.js?v=2.1.4"></script>
    <script src="js/bootstrap.min.js?v=3.3.6"></script>
    <script src="js/core.js"></script>

    <!-- fileinput -->
    <script src="js/plugins/fileinput/fileinput.js"></script>
    <script src="js/plugins/fileinput/fileinput_locale_zh.js"></script>

    <!-- 自定义js -->
    <script src="js/eachPic_add.js"></script>

</head>

<body class="gray-bg">
<div class="wrapper wrapper-content">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <form class="form-horizontal m-t">
                        <div class="form-group" id="thisType">
                            <div id="title_div" class="form-group">
                                <label class="col-sm-3 control-label">选择轮播类型</label>
                                <div class="col-sm-8">
                                    <select id="eachType" name="goodsType"
                                            style="height:31px;border-radius: 3px;border: solid 1px #ddd;">
                                        <option value="1">蜜哆哆首页轮播</option>
                                        <option value="2">蜜雅阁首页轮播</option>
                                        <option value="3">品牌馆首页轮播</option>
                                        <option value="4">试用众测图片</option>
                                        <option value="5">新片首发图片</option>
                                        <option value="6">品牌推荐图片</option>
                                        <option value="7">首次登录轮播</option>
                                        <option value="8">启动广告图</option>
                                        <option value="9">首页弹窗图</option>
                                        <option value="10">体验推荐banner图</option>
                                    </select>
                                </div>
                            </div>

                            <div id="jiu_picture_div" class="form-group" style="display: none;">
                                <label class="col-sm-3 control-label">旧活动图：</label>
                                <div class="col-sm-8">
                                    <span id="picturesUrl" name="picturesUrl" class="footable-sort-indicator"></span>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">上传图片：</label>
                                <div class="col-sm-8">
                                    <div class="page-container">
                                        <input type="file" id="fileupload" name="file">
                                    </div>
                                </div>
                                <span style="display: none;" id="uploadSuccessImg"></span>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">图片跳转商品ID(非必填)</label>
                                <div class="col-sm-8">
                                    <input id="goodsId" name="unitNum" minlength="2" type="text" class="form-control"
                                           required="required">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">图片跳转网址(非必填)</label>
                                <div class="col-sm-8">
                                    <input id="intentUrl" name="unitNum" minlength="2" type="text" class="form-control"
                                           required="required">
                                </div>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-4 col-sm-offset-3">
                                <button class="btn btn-primary" type="button" onclick="onSave()">上传</button>
                            </div>
                        </div>

                </div>
            </div>
        </div>
    </div>
</div>

</div>

</body>

</html>
